-- GENERATED SPELL FOR [Expeditionary Priest] --


function spell0_14393(pUnit, Event) --@Holy Smite,n/a--
pUnit:FullCastSpellOnTarget(9734,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14393', 2500, 1)
end

function Sorts_14393(pUnit, Event)
local choix_sorts_14393 = math.random(0, 0)
if choix_sorts_14393 == 0 then
pUnit:RegisterEvent('spell0_14393', 1, 1)
end
end

function mob14393_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14393', math.random(1500, 3000), 1)
end

function mob14393_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14393_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14393_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14393, 1, 'mob14393_Action')
RegisterUnitEvent(14393, 2, 'mob14393_Leave')
RegisterUnitEvent(14393, 3, 'mob14393_Kill')
RegisterUnitEvent(14393, 4, 'mob14393_Die')
